package com.wanshu.dao;

import com.wanshu.entity.Task;

import java.util.List;

public interface TaskDao {
    public List<Task> findAll();

    public Task findById(Integer id);

    public Integer insert(Task task);

    public Integer update(Task task);

    public Integer delete(Integer id);
}
